<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>用户登录</title>
</head>
<style>
    .login{
        border: 1px solid red;
        width: 500px;
        margin-left: 40%;
    }
</style>
<body>
    <div class="login">
        <h1>用户登录</h1>
        <form action=""method="post">
            <p>
                <label="">用户名:</label=>
                    <br>
                    <input type="text" placeholder="用户名">
            </p>

            <p>
                <label for="">密码：</label>
                <br>
                <input type="password" placeholder="">
            </p>
            <p>
                <input type="submit" value="登录">
                <input type="submit" value="注册">
            </p>
        </form>

    </div>    
</body>
</html>